﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucXacNhanThongTin.ascx.cs"
    Inherits="ucControl_ucXacNhanThongTin" %>

<style type="text/css">
    .log
    {
        background: none repeat scroll 0 0 #186cf6;
        color: oldlace;
        font-weight: bold;
        padding: 5px 5px 5px 10px;
        text-transform: uppercase;
    }
</style>
<div style="text-align: left">
    <div class="next_pre">
        <h1>
            XÁC NHẬN THÔNG TIN ĐẶT HÀNG</h1>
    </div>
    <br />
    <table cellpadding="0" cellspacing="0" border="0" style="line-height: 20px">
        <tr>
            <td style="width: 70px">
            </td>
            <td>
                <table cellpadding="2" cellspacing="2" border="0">
                    <tr>
                        <td>
                            Email:
                            <asp:Label ID="lb_email" runat="server" Style="font-weight: bold; text-decoration: underline;"> </asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Ngày đặt:
                            <asp:Label ID="lb_OrderDate" runat="server"> </asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Địa chỉ giao hàng</b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Tên:
                            <asp:Label ID="lb_name" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Số điện thoại:
                            <asp:Label ID="lb_phone" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Địa chỉ:
                            <asp:Label ID="lb_address" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <br />
    <div class="next_pre">
        <h1>
            GIỎ HÀNG</h1>
    </div>
    <br />
    <asp:GridView ID="grdShoppingCart" runat="server" AutoGenerateColumns="False" CellPadding="10"
        CssClass="grd" Width="100%">
        <Columns>
            <asp:TemplateField HeaderText="Mã Sản Phẩm" HeaderStyle-Height="30px" HeaderStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <%# Eval("Items.ItemNumber") %>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Wrap="True" Font-Bold="true" Width="120px"></ItemStyle>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tên Sản Phẩm" HeaderStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <%# Eval("Items.ItemName")%></ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Wrap="True" Font-Bold="true" Width="305px" Height="35px">
                </ItemStyle>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Giá" HeaderStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <%# double.Parse(Eval("Price").ToString()).ToString("0,00.##")%>
                </ItemTemplate>
                <ItemStyle Width="60" VerticalAlign="Middle" HorizontalAlign="Center" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Số Lượng" HeaderStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <%# Eval("Quantity") %>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="50px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Thành Tiền" HeaderStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <%# (double.Parse(Eval("Quantity").ToString()) * double.Parse(Eval("Price").ToString())).ToString("0,00.##")%>
                </ItemTemplate>
                <ItemStyle Width="90" VerticalAlign="Middle" HorizontalAlign="Center" />
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle CssClass="grdHeader" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle CssClass="grdAlternateRow" />
        <RowStyle CssClass="grdRow" />
    </asp:GridView>
    <br />
    <asp:Panel ID="pnlCartFooter" runat="server" Height="191px">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="text-align: right; padding: 10px 0 10px 0; background-image: none; background-repeat: repeat;
                    background-color: #F3AB25;" valign="middle">
                    <span style="color: #1155CC; font-weight: bold">Trị giá hóa đơn: </span>
                    <asp:Label ID="lblTotal" runat="server" CssClass="clsTotalPriceCart" Style="color: #1155CC;
                        font-weight: bold"></asp:Label>
                    <span style="color: #1155CC; font-weight: bold">&nbsp;(Đã bao gồm VAT)</span>
                </td>
            </tr>
            <tr>
                <td style="padding: 10px 0 10px 0; text-align: right;">
                    <asp:Button ID="btnQuaylai" runat="server" Text="Quay lại" Style="color: white; margin-top: 15px;
                        border-radius: 8px 0px 8px 0px; background: none repeat scroll 0px 0px #F3AB25;
                        height: auto; padding: 6px 25px;" ValidationGroup="Register" OnClick="btnQuaylai_Click" />
                    <asp:Button ID="btnthanhtoan" runat="server" Text="Thanh toán" Style="color: white;
                        margin-top: 15px; border-radius: 8px 0px 8px 0px; background: none repeat scroll 0px 0px #F3AB25;
                        height: auto; padding: 6px 25px;" ValidationGroup="Register" OnClick="btnthanhtoan_Click" />
                </td>
            </tr>
            <tr>
                <%--<td style="text-align: center">
                    <asp:Image ID="paypal" runat="server" ToolTip="Paypal" ImageUrl="~/images/acb.jpg" />
                    <asp:Image ID="imgPaymentMaster" runat="server" Height="60px" ToolTip="Master" 
                        ImageUrl="~/images/DongA_Bank.jpg" Width="100px" />
                    <asp:Image ID="imgPaymentVisa" runat="server" ToolTip="Visa" 
                        ImageUrl="~/images/vietcombank.jpeg" Height="60px" Width="164px" />
                    <asp:Image ID="imgPaymentAmericanExpress" runat="server" ToolTip="American Express"
                        ImageUrl="~/images/techcombank.jpg" Height="60px" Width="235px" />
                </td>--%>
            </tr>
        </table>
    </asp:Panel>
</div>
